#pragma warning disable 108
using System;
using System.Runtime.InteropServices;
using System.Collections.Generic;
using Cephei;
using Cephei.Core;
using Cephei.Core.Generic;
using Microsoft.FSharp.Core;
namespace Cephei.QL
{
    /// <summary> 
	/// ! This class is purely virtual and acts as a base class for the actual cash flow implementations.
	/// </summary>
    [Guid ("3936341B-AA61-49ab-B7BA-529FAE6BFCEA"),ComVisible(true)]
	public interface ICashFlow : Cephei.QL.IEvent
	{
		///////////////////////////////////////////////////////////////
        // Methods
        //
        /// <summary> 
		/// 
		/// </summary>
		 Boolean HasOccurred(Microsoft.FSharp.Core.FSharpOption<DateTime> refDate, Microsoft.FSharp.Core.FSharpOption<Boolean> includeRefDate);
        /// <summary> 
		/// 
		/// </summary>
		 Double Amount {get;}
        /// <summary> 
		/// 
		/// </summary>
		 DateTime Date {get;}
    }   

    /// <summary> 
	/// ! This class is purely virtual and acts as a base class for the actual cash flow implementations. Factory
	/// </summary>
   	[ComVisible(true)]
    public interface ICashFlow_Factory : INativeCollection_Factory<ICashFlow>
    {
        ///////////////////////////////////////////////////////////////
        // Factory methods
        //
        /// <summary>
        /// Create a hybrid Matrix of ICashFlow, with event notification of changes
        /// </summary>
        /// <returns>a new Matrix&ltICashFlow&gt</returns>
        IMatrix<ICashFlow> CreateMatrix();
        /// <summary>
        /// Create a hybrid Matrix of ICell of ICashFlow, with event notification of changes
        /// </summary>
        /// <returns>a new ICell&ltIMatrix&ltI&ltICashFlow&gt&gt&gt</returns>
        ICoCell<IMatrix<ICoCell<ICashFlow>>> CreateCellMatrix();
        IMatrix<ICashFlow> CreateMatrix (IEnumerable<IEnumerable<ICashFlow>> source);
        ICoCell<IMatrix<ICoCell<ICashFlow>>> CreateCellMatrix (IEnumerable<IEnumerable<ICoCell<ICashFlow>>> source);
        /// <summary>
        /// Create a hybrid Vector of ICashFlow, with event notification of changes
        /// </summary>
        /// <returns>a new Vector&ltICashFlow&gt</returns>
        IVector<ICashFlow> CreateVector();
        /// <summary>
        /// Create a hybrid Vector of ICell of ICashFlow, with event notification of changes
        /// </summary>
        /// <returns>a new ICell&ltIVector&ltI&ltICashFlow&gt&gt&gt</returns>
        ICoCell<IVector<ICoCell<ICashFlow>>> CreateCellVector();
        IVector<ICashFlow> CreateVector (IEnumerable<ICashFlow> source);
        ICoCell<IVector<ICoCell<ICashFlow>>> CreateCellVector (IEnumerable<ICoCell<ICashFlow>> source);
    }
}

